﻿namespace TestApp.DataService
{
    using System;
    using System.Diagnostics.Contracts;

    internal sealed class SimpleLogger : ISimpleLogger
    {
        public void Write(string message)
        {
            Contract.Requires<ArgumentNullException>(message != null);
            Console.WriteLine(message);
        }
    }
}